<?php
/**
 * FileName: mod_seftranslate.php
 * Date: 24/02/2010
 * License: GNU General Public License
 * Script Version #: 1.0.0
 * JOS Version #: 1.5.x
 * Development Aleksey Pakholkov, Andrey Kvasnevskiy - OrdaSoft(http://ordasoft.com)
 */

defined('_JEXEC') or die('Restricted access');
$show_lang=$params->get('use_lang');
$show_flag_lang=$params->get('use_flag_lang');
$trans_metod=$params->get('trans_metod');
$main_url = $_SERVER['HTTP_HOST'];

if($_SERVER['SERVER_PORT'] != '80')
    $main_url = substr($main_url, 0, strpos($main_url, ':'));


$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));

require JModuleHelper::getLayoutPath('mod_seftranslate', $params->get('layout', 'default'));